import 'package:kkhousekeep/generated/json/base/json_field.dart';
import 'package:kkhousekeep/generated/json/home_check_home_bind_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class HomeCheckHomeBindEntity {
	late int code;
	late HomeCheckHomeBindObj obj;
	late String msg;

	HomeCheckHomeBindEntity();

	factory HomeCheckHomeBindEntity.fromJson(Map<String, dynamic> json) => $HomeCheckHomeBindEntityFromJson(json);

	Map<String, dynamic> toJson() => $HomeCheckHomeBindEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class HomeCheckHomeBindObj {
	late String token;
	late bool roomCheckPass;
	late String ownerType;

	HomeCheckHomeBindObj();

	factory HomeCheckHomeBindObj.fromJson(Map<String, dynamic> json) => $HomeCheckHomeBindObjFromJson(json);

	Map<String, dynamic> toJson() => $HomeCheckHomeBindObjToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}